package cn.iocoder.yudao.module.vos.controller.admin.marketingscore.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 名单评分分页 Request VO")
@Data
public class MarketingScorePageReqVO extends PageParam {

    @Schema(description = "分数")
    private BigDecimal score;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    private String phoneMd5;

    private String phoneTags;
    private String listLevel;
    @Schema(description = "名单日期范围（前端传 listDate[0]/listDate[1]，yyyy-MM-dd）")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] listDate; // 一定要数组或 List<LocalDate>
}